package com.test1.ex;

import com.test1.bean.Instrumental;

/**
 * @author Cc
 * 2024-03-12
 */
public class WithOutInstrumentalException extends Exception {
    private Instrumental instrumental;
    private String message;

    public WithOutInstrumentalException() {
        super();
    }

    public WithOutInstrumentalException(Instrumental instrumental, String message) {
        super();
        this.instrumental = instrumental;
        this.message = message;
    }

    @Override
    public String getMessage() {
        return this.message + " " + "无器演弔";
    }
}
